<h2 class="title">自购物资管理</h2>
<form action="index.php?c=zy_materials_from&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">
<table class="tb_term" width="100%">
<tr>
	<td class="alignright">自购单号</td>
	<td colspan=3><input type=text name="materials_no" value='{%$materials_no%}' class="input_edit_stand txt-normal"  dataType="Require" msg=""></td>
</tr>
<tr>
	<td class="tr_td_width01 alignright">预算金额</td>
	<td class="tr_td_width03"><input type=text name="budget_amount"  value='{%$budget_amount%}' class="input_edit_num txt-normal" dataType="Require" msg=""><label class="label01">万元</label></td>
	<td class="tr_td_width02 alignright">实际金额</td>
	<td><input type=text name="actual_amount"  value='{%$actual_amount%}' class="input_edit_num txt-normal" ><label class="label01">万元</label></td>
</tr>
<tr>	
	<td class="alignright">经办日期</td>
	<td>
		<input type=text name="materials_time" class="input_date_edit txt-normal" id="materials_time" value='{%$materials_time|date_format:"%Y-%m-%d"%}' dataType="Require" msg="" readonly />
		<script>
				Calendar.setup({
					inputField     :    "materials_time",   // id of the input field
					ifFormat       :    "%Y-%m-%d",       // format of the input field
					showsTime      :    false,
					timeFormat     :    "24"
				});
		</script>
	</td>
	<td class="alignright">经办人</td>
	<td>
		<select name="admin_user_id" class="select_edit  txt-normal">
			{%html_options options=$admin_info selected=$admin_user_id%}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">备注</td>
	<td colspan="3"><textarea cols="70" rows="3" class="textarea_edit txt-normal"  name="materials_info" >{%$materials_info%}</textarea></td>
</tr>
</table>
<p class="btn_right">
	<input type=hidden name='materials_from_id' id='materials_from_id' value='{%$materials_from_id%}'>
	<button type="submit" class="b-default" hidefocus="true"><span><em>提交</em></span></button>	
	<button type="button" class="b-default" hidefocus="true" onclick="history.go(-1)"><span><em>返回</em></span></button>	
</p>
</form>